/*
 * Copyright (c) 2023 Cshoo Org. All Rights Reserved.
 */

package org.cshoo.tattoo.datacenter.domain.po;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.cshoo.tattoo.embed.infra.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author 杨翼
 * @since 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "message_item")
@Data
public class MessageItem extends BaseEntity {
    @Column(name = "message_id")
    private Long messageId;

    @Column(name = "lang", length = 100)
    private String lang;

    @Column(name = "content", length = 4000)
    private String content;
}
